var templateString = "\
# Copyright (c) 1993-2009 Microsoft Corp.;\
#;\
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.;\
#;\
# This file contains the mappings of IP addresses to host names. Each;\
# entry should be kept on an individual line. The IP address should;\
# be placed in the first column followed by the corresponding host name.;\
# The IP address and the host name should be separated by at least one;\
# space.;\
#;\
# Additionally, comments (such as these) may be inserted on individual;\
# lines or following the machine name denoted by a '#' symbol.;\
#;\
# For example:;\
#;\
#      102.54.94.97     rhino.acme.com          # source server;\
#       38.25.63.10     x.acme.com              # x client host;\
;\
# localhost name resolution is handled within DNS itself.;\
#   127.0.0.1       localhost;\
#   ::1             localhost;\
;\
#xxx.xxx.xxx.xxx  www.server-domain.com # server;\
#208.67.222.222   resolver1.opendns.com #OpenDNS;\
#208.67.220.220   resolver2.opendns.com #OpenDNS;\
#8.8.8.8          google-public-dns-a.google.com;\
#168.95.1.1       dns.hinet.net #台湾中华电信DNS;\
;\
---blacklist---;\
;\
{blacklist}  valf.atm.youku.com;\
{blacklist}  afp.qiyi.com;\
{blacklist}  tdcm.tudou.com;\
{blacklist}  ku6afp.allyes.com;\
{blacklist}  iafp.pptv.com;\
{blacklist}  dcads.sina.com.cn;\
{blacklist}  acs.56.com;\
{blacklist}  www.smoothgesturesapp.com;\
;\
;\
---Google---;\
;\
#android-market.l.google.com=*.google.com;\
{*.google.com}  market.android.com;\
;\
#accounts.l.google.com=accounts.google.com;\
{accounts.google.com}  accounts.google.com;\
;\
#appspot.l.google.com=*.appspot.com;\
{*.appspot.com}  autoproxy2pac.appspot.com;\
{*.appspot.com}  gae-twitter.appspot.com;\
{*.appspot.com}  rogerxu-1.appspot.com;\
{*.appspot.com}  rogerxu-2.appspot.com;\
{*.appspot.com}  rogerxu-opm.appspot.com;\
;\
#blogger.l.google.com=*.blogger.com;\
{*.blogger.com}  blogger.com;\
{*.blogger.com}  www.blogger.com;\
;\
#browsersync.l.google.com=*.google.com;\
{*.google.com}  browsersync.google.com;\
;\
#clients.l.google.com=*.google.com;\
{*.google.com}  clients0.google.com;\
{*.google.com}  clients1.google.com;\
{*.google.com}  clients2.google.com;\
{*.google.com}  clients3.google.com;\
{*.google.com}  clients4.google.com;\
{*.google.com}  clients5.google.com;\
{*.google.com}  clients6.google.com;\
{*.google.com}  clients7.google.com;\
{*.google.com}  clients8.google.com;\
{*.google.com}  clients9.google.com;\
{*.google.com}  clients1.google.com.hk # .com.hk 搜索建议;\
;\
#code.l.google.com=*.google.com;\
{*.google.com}  code.google.com;\
;\
#csi.l.google.com=*.google.com;\
{*.google.com}  gg.google.com;\
;\
#dl.l.google.com=*.google.com;\
{*.google.com}  dl.google.com;\
;\
#docs.google.com=*.google.com;\
{*.google.com}  docs.google.com;\
{*.google.com}  writely.google.com;\
;\
#encrypted-tbn.l.google.com=*.google.com;\
{*.google.com}  encrypted-tbn0.google.com;\
{*.google.com}  encrypted-tbn1.google.com;\
{*.google.com}  encrypted-tbn2.google.com;\
{*.google.com}  encrypted-tbn3.google.com;\
{*.google.com}  encrypted-tbn4.google.com;\
{*.google.com}  encrypted-tbn5.google.com;\
;\
#ghs.l.google.com=*.*.*.121;\
72.14.203.121    www.chromium.org;\
;\
#gmail-pop.l.google.com=*.*.*.109;\
74.125.235.109   pop.gmail.com;\
;\
#gmail-smtp-msa.l.google.com=*.*.*.109;\
74.125.235.109   smtp.gmail.com;\
;\
#googleapis.l.google.com=*.googleapis.com;\
{*.googleapis.com}  ajax.googleapis.com;\
{*.googleapis.com}  chart.googleapis.com;\
{*.googleapis.com}  commondatastorage.googleapis.com;\
;\
#googlecode.l.google.com=*.googlecode.com;\
{*.googlecode.com}  googlecode.com;\
{*.googlecode.com}  www.googlecode.com;\
{*.googlecode.com}  www.codespot.com;\
{*.googlecode.com}  autoproxy-gfwlist.googlecode.com;\
{*.googlecode.com}  wallproxy.googlecode.com;\
{*.googlecode.com}  rogerxu.googlecode.com;\
{*.googlecode.com}  wiki.rogerxu.googlecode.com;\
;\
#groups.google.com=*.googlegroups.com;\
{*.google.com}  groups.google.com;\
{*.googlegroups.com}  googlegroups.com;\
;\
#googlehosted.l.googleusercontent.com=*.googleusercontent.com;\
{*.googleusercontent.com}  googleusercontent.com;\
{*.googleusercontent.com}  www.googleusercontent.com;\
{*.googleusercontent.com}  blogger.googleusercontent.com;\
{*.googleusercontent.com}  clients1.googleusercontent.com;\
{*.googleusercontent.com}  clients2.googleusercontent.com;\
{*.googleusercontent.com}  images1-focus-opensocial.googleusercontent.com;\
{*.googleusercontent.com}  images2-focus-opensocial.googleusercontent.com;\
{*.googleusercontent.com}  images3-focus-opensocial.googleusercontent.com;\
{*.googleusercontent.com}  lh0.googleusercontent.com;\
{*.googleusercontent.com}  lh1.googleusercontent.com;\
{*.googleusercontent.com}  lh2.googleusercontent.com;\
{*.googleusercontent.com}  lh3.googleusercontent.com;\
{*.googleusercontent.com}  lh4.googleusercontent.com;\
{*.googleusercontent.com}  lh5.googleusercontent.com;\
{*.googleusercontent.com}  lh6.googleusercontent.com;\
{*.googleusercontent.com}  lh7.googleusercontent.com;\
{*.googleusercontent.com}  lh8.googleusercontent.com;\
{*.googleusercontent.com}  lh9.googleusercontent.com;\
{*.googleusercontent.com}  mail-attachment.googleusercontent.com;\
{*.googleusercontent.com}  music-onebox.googleusercontent.com                 #音乐歌曲CD封面图片;\
{*.googleusercontent.com}  s1.googleusercontent.com;\
{*.googleusercontent.com}  s2.googleusercontent.com;\
{*.googleusercontent.com}  translate.googleusercontent.com                    #翻译;\
{*.googleusercontent.com}  themes.googleusercontent.com;\
{*.googleusercontent.com}  wave.googleusercontent.com                         #Wave;\
{*.googleusercontent.com}  webcache.googleusercontent.com;\
#*.atgglstorage.com;\
#*.s.atgglstorage.com;\
;\
#googlemail.l.google.com=mail.google.com;\
{mail.google.com}  mail.google.com;\
;\
#*.mail.google.com;\
{*.mail.google.com}  chatenabled.mail.google.com;\
{*.mail.google.com}  0.docs.google.com;\
{*.mail.google.com}  1.docs.google.com;\
{*.mail.google.com}  2.docs.google.com;\
{*.mail.google.com}  3.docs.google.com;\
{*.mail.google.com}  4.docs.google.com;\
{*.mail.google.com}  5.docs.google.com;\
{*.mail.google.com}  6.docs.google.com;\
{*.mail.google.com}  7.docs.google.com;\
{*.mail.google.com}  8.docs.google.com;\
{*.mail.google.com}  9.docs.google.com;\
{*.mail.google.com}  10.docs.google.com;\
{*.mail.google.com}  11.docs.google.com;\
{*.mail.google.com}  12.docs.google.com;\
{*.mail.google.com}  13.docs.google.com;\
{*.mail.google.com}  14.docs.google.com;\
{*.mail.google.com}  15.docs.google.com;\
;\
#gstaticssl.l.google.com=*.gstatic.com;\
{*.gstatic.com}  csi.gstatic.com;\
{*.gstatic.com}  maps.gstatic.com;\
{*.gstatic.com}  ssl.gstatic.com;\
;\
#id.l.google.com=*.google.com;\
{*.google.com}  id.google.com;\
;\
#lh.google.com=*.google.com;\
{*.google.com}  lh0.google.com;\
{*.google.com}  lh1.google.com;\
{*.google.com}  lh2.google.com;\
{*.google.com}  lh3.google.com;\
{*.google.com}  lh4.google.com;\
{*.google.com}  lh5.google.com;\
{*.google.com}  lh6.google.com;\
{*.google.com}  lh7.google.com;\
{*.google.com}  lh8.google.com;\
{*.google.com}  lh9.google.com;\
{*.google.com}  lh10.google.com;\
;\
#maps.l.google.com=*.google.com;\
{*.google.com}  maps.google.com;\
{*.google.com}  khms0.google.com;\
{*.google.com}  khms1.google.com;\
{*.google.com}  khms2.google.com;\
{*.google.com}  khms3.google.com;\
{*.google.com}  khms4.google.com;\
{*.google.com}  khms5.google.com;\
{*.google.com}  khms6.google.com;\
{*.google.com}  khms7.google.com;\
{*.google.com}  khms8.google.com;\
{*.google.com}  khms9.google.com;\
{*.google.com}  mts0.google.com;\
{*.google.com}  mts1.google.com;\
{*.google.com}  mts2.google.com;\
{*.google.com}  mts3.google.com;\
{*.google.com}  mts4.google.com;\
{*.google.com}  mts5.google.com;\
{*.google.com}  mts6.google.com;\
{*.google.com}  mts7.google.com;\
{*.google.com}  mts8.google.com;\
{*.google.com}  mts9.google.com;\
;\
#picasaweb.l.google.com=*.google.com;\
{*.google.com}  picasaweb.google.com;\
;\
#profiles-china.l.google.com=*.google.com;\
{*.google.com}  profiles.google.com;\
;\
#spreadsheets.l.google.com=*.google.com;\
{*.google.com}  spreadsheet.google.com;\
{*.google.com}  spreadsheets.google.com;\
{*.google.com}  spreadsheets0.google.com;\
{*.google.com}  spreadsheets1.google.com;\
{*.google.com}  spreadsheets2.google.com;\
{*.google.com}  spreadsheets3.google.com;\
{*.google.com}  spreadsheets4.google.com;\
{*.google.com}  spreadsheets5.google.com;\
{*.google.com}  spreadsheets6.google.com;\
{*.google.com}  spreadsheets7.google.com;\
{*.google.com}  spreadsheets8.google.com;\
{*.google.com}  spreadsheets9.google.com;\
;\
#ssl-google-analytics.l.google.com=*.google-analytics.com;\
{*.google-analytics.com}  ssl.google-analytics.com;\
;\
#talkgadget.l.google.com=*.google.com;\
{*.google.com}  talkgadget.google.com;\
;\
#www.l.google.com=www.google.com;\
{www.google.com}  www.google.com;\
;\
#www2.l.google.com=*.google.com;\
{*.google.com}  reader.google.com;\
;\
#www3.l.google.com=*.google.com;\
{*.google.com}  appengine.google.com;\
{*.google.com}  calendar.google.com;\
{*.google.com}  chrome.google.com;\
{*.google.com}  encrypted.google.com;\
{*.google.com}  play.google.com;\
{*.google.com}  plus.google.com;\
{*.google.com}  services.google.com;\
{*.google.com}  sites.google.com;\
;\
#google.cn=*.google.cn;\
{*.google.cn}  www.google.cn;\
{*.google.cn}  music.google.cn;\
{*.google.cn}  music.googleusercontent.cn;\
;\
;\
---YouTube---;\
;\
#youtube.com=*.google.com;\
{*.google.com}  youtube.com;\
;\
#youtube-ui.l.google.com=*.google.com;\
{*.google.com}  www.youtube.com;\
{*.google.com}  www.youtube-nocookie.com;\
{*.google.com}  accounts.youtube.com;\
{*.google.com}  s.youtube.com;\
{*.google.com}  s1.youtube.com;\
{*.google.com}  s2.youtube.com;\
;\
#ytstatic.l.google.com=*.google.com;\
{*.google.com}  s.ytimg.com;\
;\
#ytimg.l.google.com=*.google.com;\
{*.google.com}  i1.ytimg.com;\
{*.google.com}  i2.ytimg.com;\
{*.google.com}  i3.ytimg.com;\
{*.google.com}  i4.ytimg.com;\
;\
;\
---Twitter---;\
;\
#si*.twimg.com;\
{si*.twimg.com}  si0.twimg.com;\
{si*.twimg.com}  si1.twimg.com;\
{si*.twimg.com}  si2.twimg.com;\
{si*.twimg.com}  si3.twimg.com;\
{si*.twimg.com}  si4.twimg.com;\
{si*.twimg.com}  si5.twimg.com;\
;\
---Facebook---;\
;\
#CNAME=facebook.com;\
{www.facebook.com}  facebook.com;\
{www.facebook.com}  www.facebook.com;\
;\
#CNAME=*.facebook.com;\
{*.facebook.com}  secure-media-sf2p.facebook.com;\
;\
#CNAME=static.ak.facebook.com.edgesuite.net;\
#124.155.222.67   static.ak.fbcdn.net;\
202.232.140.29   static.ak.fbcdn.net;\
;\
#CNAME=s-static.ak.fbcdn.net.edgekey.net;\
118.214.237.177  s-static.ak.fbcdn.net;\
;\
#CNAME=s-static.ak.facebook.com.edgekey.net;\
118.214.226.110  s-static.ak.facebook.com;\
;\
#CNAME=*.channel.facebook.com;\
{*.channel.facebook.com}  0-52.channel.facebook.com;\
{*.channel.facebook.com}  1-52.channel.facebook.com;\
;\
---savgeboy.tk---;\
;\
{savageboy.tk}  savageboy.tk;\
{savageboy.tk}  www.savageboy.tk";